class CreatePages < ActiveRecord::Migration
  def self.up
    create_table :pages do |t|
			t.column :section_id, :integer
			t.column :user_id, 		:integer
			t.column :name, 			:string
			t.column :headline, 	:string
			t.column :body, 			:text
			t.column :home, 			:boolean
			t.column :state, 			:string
			t.column :created_at, :datetime
			t.column :updated_at, :datetime
    end
  end

  def self.down
    drop_table :pages
  end
end
